<template>
    <div>
        <!-- <van-field placeholder="请输入你要搜索的标题" v-model="form.title"></van-field> -->
        <input type="text" v-model="form.title">
        <van-button @click="sou">搜索</van-button>
        <ul>
            <li v-for="i in list_1">{{i.title}}</li>
        </ul>
    </div>
</template>

<script>
    export default {
        data(){
            return{
                form:{},
                list_1:[]
            }
        },methods:{
            sou(){
                this.$axios.get('text/searchMs?title='+this.form.title).then(res=>{
                    this.list_1 = res.data.list
                })
            }
        },
        mounted(){}
    }
</script>

<style scoped>

</style>